<?php



class ProductsAttributesDownloadMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.ProductsAttributesDownloadMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('propel');

		$tMap = $this->dbMap->addTable('products_attributes_download');
		$tMap->setPhpName('ProductsAttributesDownload');

		$tMap->setUseIdGenerator(false);

		$tMap->addPrimaryKey('PRODUCTS_ATTRIBUTES_ID', 'ProductsAttributesId', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('PRODUCTS_ATTRIBUTES_FILENAME', 'ProductsAttributesFilename', 'string', CreoleTypes::VARCHAR, true, 255);

		$tMap->addColumn('PRODUCTS_ATTRIBUTES_MAXDAYS', 'ProductsAttributesMaxdays', 'int', CreoleTypes::INTEGER, false, null);

		$tMap->addColumn('PRODUCTS_ATTRIBUTES_MAXCOUNT', 'ProductsAttributesMaxcount', 'int', CreoleTypes::INTEGER, false, null);

	} 
} 